package com.sky.mapper;


import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
//@Mapper
public interface DishFlavorMapper {

    //批量插入口味列表数据
    void insertBatch(List<DishFlavor> dishFlavorList);

    void deleteBatch(List<Long> dishIds);

    //根据菜品id查询口味列表
    List<DishFlavor> selectByDishId(Long dishId);

    //根据菜品id删除口味列表
    void deleteByDishId(Long dishId);

}
